/**
 * 
 */
package at.ac.tuwien.swa075.telco.auc.service;

import at.ac.tuwien.swa075.telco.auc.AucException;

/**
 * A service interface that provides operations to verify a subscriber identity.
 * 
 * @author Johannes Mayr <johannes.mayr@uniqa.at>
 * 
 */
public interface IAuthenticationService {

	/**
	 * Validates the identity of a subscriber.
	 * 
	 * @param imsi
	 *            The international mobile subscriber identity
	 * @param pin
	 *            A four digit pin code.
	 * @return True if the pin code matches the pin stored in the authentication
	 *         center.
	 * @throws AucException
	 *             An error occured during the pin code verification.
	 */
	public boolean validateSubscriber(String imsi, String pin) throws AucException;

}
